home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ttttttttddddbbbbcccckkkk((((8888)))) ttttttttddddbbbbcccckkkk((((8888))))
-
-
-
- NNNNAAAAMMMMEEEE
- ttdbck - display, check, or repair ToolTalk databases.
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ttttttttddddbbbbcccckkkk [-f _f_i_l_e_n_a_m_e ] [-k _o_b_j_i_d_k_e_y ] [-t _t_y_p_e ] [-bximpa] [-T oooottttyyyyppppeeeeiiiidddd ]
- [-IZ]
- ttttttttddddbbbbcccckkkk [ _s_e_l_e_c_t_i_o_n _o_p_t_s ] [ _d_i_a_g_n_o_s_i_s _o_p_t_s ] [ _d_i_s_p_l_a_y _o_p_t_s ] [
- _r_e_p_a_i_r _o_p_t_s ] [ _d_a_t_a-_b_a_s_e-_d_i_r_e_c_t_o_r_y ]...
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ttttttttddddbbbbcccckkkk is the ToolTalk database maintenance tool. It allows direct
- inspection of ToolTalk spec data, detection of inconsistencies, and
- repair of problems.
-
- DDDDiiiiffffffffeeeerrrreeeennnncccceeeessss ffffrrrroooommmm SSSSuuuunnnnSSSSoooofffftttt TTTToooooooollllTTTTaaaallllkkkk::::
-
- The Classing Engine is NOT supported on SGI. By default, ttdbck uses the
- types database XDR files when determining what spec otypes are valid.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- _d_a_t_a-_b_a_s_e-_d_i_r_e_c_t_o_r_y
- Names the directory or directories containing the ToolTalk database
- to be inspected or repaired. If no directories are named, the
- current directory is assumed. If a directory path does not end in
- ``TT_DB'', ``TT_DB'' is appended.
-
- The user running the command must have read access to the files in
- the directory to inspect the data and write access to repair the
- data. Since ToolTalk databases are typically accessible only to
- root, this command is normally run as root.
-
- SSSSeeeelllleeeeccccttttiiiioooonnnn ooooppppttttiiiioooonnnnssss
- The selection options determine which specs in the database are displayed
- or modified. If no selection options are given, all specs in the
- database are displayed. To prevent massive accidental changes to
- ToolTalk databases, no repair options except ----IIII are allowed unless a
- selection or diagnosis option is given.
-
- ----ffff _f_i_l_e_n_a_m_e
- Restricts the set of specs to be inspected or modified to those
- which describe objects in the named file. The file name can contain
- shell-style wildcards which must be escaped to prevent the shell
- from expanding them.
-
- ----kkkk _o_b_j_i_d_k_e_y
- An object id key, specifying a particular spec to be displayed or
- modified. The object id key can be obtained from a previous
- invocation of ttdbck; one might display a set of specs, determine
- the one that needs repair, and specify its key here.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ttttttttddddbbbbcccckkkk((((8888)))) ttttttttddddbbbbcccckkkk((((8888))))
-
-
-
- ----tttt _t_y_p_e
- Restricts the set of specs to be inspected or modified to those with
- otype _t_y_p_e. The type name can contain shell-style wildcards which
- must be escaped to prevent the shell from expanding them.
-
- DDDDiiiiaaaaggggnnnnoooossssiiiissss ooooppppttttiiiioooonnnnssss
- These options check for and report on inconsistencies in the selected
- specs. Only specs selected by the selection options are checked. If a
- diagnosis option is given, any display or repair option is applied only
- to specs which fail the diagnostic check.
-
- ----bbbb Check for badly formed specs: those which have no file or type or
- those which have types not defined in the type database.
-
- ----xxxx Check for specs which refer to files that no longer exist.
-
- DDDDiiiissssppppllllaaaayyyy ooooppppttttiiiioooonnnnssss
- These options determine what data is printed for each selected spec.
-
- ----iiii Display the object id (including the object id key.)
-
- ----mmmm Display the mandatory data that must appear in every spec: the otype
- of the object described by the spec and the file in which the spec
- is stored.
-
- ----pppp Display all the properties and values for each selected spec.
-
- ----aaaa Display all data (equivalent to specifying ----iiiimmmmpppp)
-
- RRRReeeeppppaaaaiiiirrrr ooooppppttttiiiioooonnnnssss
- ----IIII Invoke the NetISAM isrepair() function for all files accessed. This
- action is applied before any other inspection or repair action.
- This option should be used when normal operations return EBADFILE
- (error code 105.)
-
- ----FFFF ffffiiiilllleeeennnnaaaammmmeeee
- Change the file name for the selected specs to the supplied file
- name.
-
- ----TTTT oooottttyyyyppppeeeeiiiidddd
- Change the type of the selected specs to the given otype.
-
- ----ZZZZ Remove the selected specs entirely.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- ttttttttddddbbbbcccckkkk ----bbbbxxxxiiii ////hhhhoooommmmeeee
-
- In the /home/TT_DB directory, finds all badly formed specs and specs that
- refer to non-existent files and prints their ids.
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- ttttttttddddbbbbcccckkkk((((8888)))) ttttttttddddbbbbcccckkkk((((8888))))
-
-
-
- ttttttttddddbbbbcccckkkk ----ffff ////hhhhoooommmmeeee////ssssaaaammmmpppplllleeee////ddddaaaattttaaaa ----FFFF ////hhhhoooommmmeeee////ssssaaaammmmpppplllleeee////ddddaaaattttaaaa1111 ////hhhhoooommmmeeee
-
- In the /home/TT_DB directory, finds all specs that refer to objects in
- file /home/sample/data and changes them to refer to /home/sample/data1.
-
- ttttttttddddbbbbcccckkkk ----tttt SSSSuuuunnnn____CCCChhhhaaaaiiiinnnn____LLLLiiiinnnnkkkk ----ZZZZ ////eeeexxxxppppoooorrrrtttt////TTTTTTTT____DDDDBBBB
-
- In the /export/TT_DB directory, finds all specs that refer to objects of
- type _S_u_n__C_h_a_i_n__L_i_n_k and deletes the specs.
-
- FFFFIIIILLLLEEEESSSS
- ////ppppaaaatttthhhh////TTTTTTTT____DDDDBBBB ToolTalk database
-
- NNNNOOOOTTTTEEEESSSS
- The ttdbck command should be run on the same machine where the TT_DB
- files being inspected and repaired physically exist. That is, don't try
- to access the TT_DB files via NFS.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-